<?php


namespace app\index\controller;


use think\Controller;

class Base extends Controller
{
    public function initialize()
    {
        $config = model('webconfig')->find(1);
        $this->view->share(compact('config'));
    }
}
